package cn.gok.qqclient.services.impl;

import cn.gok.qqclient.beans.User;
import cn.gok.qqclient.daos.UserDao;
import cn.gok.qqclient.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;


    @Override
    public List<User> getAllUsers() {

        return  userDao.getAllUsers();
    }
}
